#pragma once

#include<string.h>
using namespace std;

public ref class sLogIn
 {
  public:
	  
        sLogIn() {
			if(!changePSWD)	passwordAdmin = "admin";
			if(user != "admin" && user != "employee")	user = "user";
			//changePSWD = false;
		}
        
		static bool changePSWD;
		static System::String ^ passwordAdmin;
 public:
		static int id;
		static System::String ^ password;
		static System::String ^ name;
		static System::String ^ surname;
		static System::String ^ user;
  public:
		
        bool check_pswd_admin(System::String ^ _pswd) { 
			return !(System::String::Compare(passwordAdmin, _pswd ));
		}
		bool check_pswd_employee(System::String ^ _name, System::String ^ _surname, System::String ^ _pswd);
 };